Creation information for a set of compute resources used by a shader program. More...
#include <kanzi/gfx/create_info.hpp>
Public Types | |
| using | HandleType |
| Compute resource set handle. | |
Public Attributes | |
| ComputePipelineHandleGuard | computePipeline |
| A compute pipeline for the resource set. | |
| uint32_t | setIndex |
| The index of the set belonging to the compute pipeline that this resource set uses. | |
Public Attributes inherited from kanzi::gfx::ResourceSetCreateInfo | |
| VectorMap< string, ImageView > | imageViews |
| Mapping of a string identifier from the shader and an image view. | |
| VectorMap< string, Sampler > | samplers |
| Mapping of a string identifier from the shader and a sampler. | |
| VectorMap< string, BufferView > | storageBufferViews |
| Mapping of a string identifier from the shader and a storage buffer view. | |
| VectorMap< string, TexelBufferView > | texelBufferViews |
| Mapping of a string identifier from the shader and a texel or image buffer view. | |
| VectorMap< string, BufferView > | uniformBufferViews |
| Mapping of a string identifier from the shader and a uniform buffer view. | |
Public Attributes inherited from kanzi::gfx::BaseCreateInfo | |
| string_view | name |
| The name of the graphics object, useful for debugging. | |
Creation information for a set of compute resources used by a shader program.
The set represents the unit of binding for resources. Requires FeatureId::Compute.
Compute resource set handle.
| ComputePipelineHandleGuard kanzi::gfx::ComputeResourceSetCreateInfo::computePipeline |
A compute pipeline for the resource set.
This only limits the usage of the compute resource set to pipelines that are compatible with the provided pipeline. It does not require the exact pipeline for all usage.
| uint32_t kanzi::gfx::ComputeResourceSetCreateInfo::setIndex |
The index of the set belonging to the compute pipeline that this resource set uses.